<template>
    <div>
        <div class="all">
            <div class="left"><slot name="left"></slot></div>
            <div class="middle"><slot name="middle"></slot></div>
            <div class="right"><slot name="right"></slot></div>
        </div>
    </div>

</template>

<script>
    export default {
        name: "NavBar"
    }
</script>

<style scoped>
    *{
        margin: 0;
        padding: 0;
    }
    .all{
        line-height: 44px;
        height: 44px;
        display: flex;
        text-align: center;
        box-shadow:0 2px 5px rgba(100,100,100,0.1);
    }
    .left,.right{
        width: 60px;
    }.middle{
         flex: 1;
     }
</style>